<%-- 
    Document   : country
    Created on : Feb 27, 2012, 2:02:59 PM
    Author     : sunchak
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" errorPage="error.jsp"%>
<%@page import="com.binkam.merashehar.exception.MSAuthException" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%
        if (session.getAttribute("logged_in_user_role") == null) {
            throw new MSAuthException();
        }
%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <script type="text/javascript" src="admin.js"></script>
        <script type="text/javascript" src="../js/jquery-1.6.2.min.js"></script>
    </head>
    <body>
            <table>
                <tr>
                    <td width="50">
                        <div style="display:inline-block;">
                            <span><a href="#" onclick="$('#adminPage').load('country.jsp');">Country</a></span>
                            <span><a href="#" onclick="loadAdminPage('state.jsp');">State</a></span>
                            <span><a href="#" onclick="loadAdminPage('city.jsp');">City</a></span>
                            <span><a href="#" onclick="loadAdminPage('area.jsp');">Area</a></span>
                            <span><a href="#" onclick="loadAdminPage('categorytype.jsp');">Category Type</a></span>
                            <span><a href="#" onclick="loadAdminPage('category.jsp');">Category</a></span>
                            <span><a href="#" onclick="loadAdminPage('subcategory.jsp');">Subcategory</a></span>
                            <span><a href="#" onclick="loadAdminPage('item.jsp');">Item</a></span>
                        </div>
                    </td>
                    <td width="500">
                        <div id="adminPage">
                            Admin Page
                        </div>
                    </td>
                </tr>
            </table>
    </body>
</html>
